# App level overriding default pillar valuse
# All values here are optional. This could be an empty file and the app will use
# the default values from original sls data

include:
  - logentries

# App default path
app:
  papi:
    api_storage_path:
      - /home/lighttpd/api-storage

    api_root_path:
      - /home/lighttpd/api-root

    api_path:
      - /home/lighttpd/api

#Override PHP extensions/version-
php:
  version: 5.4.39-1.w6

  packages:
    # Additional packages required (Set to true)
    #extra-package: true

    # Unwanted packages (Set to false)
    pspell: false
    tidy: false

  pecl_packages:
    # Additional packages required (Set to true)
    imagick: 3.1.2-2.w6
    igbinary: true

    # Unwanted packages (Set to false)
    apcu: false
    xdebug: false

  config:
    ini:
      memory_limit: 64M
      mssql.datetimeconvert: "Off"

# Customize lighttpd servertag name with jenkins node name
{% set node_name = salt['grains.get']('jenkins:node_name', '') %}
{% if node_name %}
lighttpd:
  server_tag: {{ node_name }}
{% endif %}